package org.coding.springbootdemocommandline.beandepen;

import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @author guoxuehe
 * @date 2021/1/26 16:38
 * @desc
 **/
public class BeanDepenMain {
    public static void main(String[] args) {
        ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext("Beandepen.xml");
        BeanA beanA = context.getBean("beanA",BeanA.class);
        beanA.execute();
        System.out.println("succcess");
    }
}
